package com.wngbms;

import com.netflix.hystrix.HystrixCommand;
import com.netflix.hystrix.HystrixCommandGroupKey;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class CommandHelloWorldExe extends HystrixCommand<String> {


    protected CommandHelloWorldExe() {
        super(HystrixCommandGroupKey.Factory.asKey("expGrp"));
    }

    @Override
    protected String run() throws Exception {
        log.info("===> do run");
        return "win";
    }
}
